<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta content="App Inventor for Android" name="description">
    <meta content="Android, Blocks App Inventor, Mobile, Phone, IDE" name="keywords">
    <title>
      Linux Setup - App Inventor for Android
    </title>
    <link href="../../static/images/appinventor-16.png" rel="SHORTCUT ICON" type="image/ico">
    <link href="../../static/images/appinventor-16.png" rel="icon" type="image/png">
    <link href="../../static/css/appinventor.css" rel="stylesheet" type="text/css">
<!-- ADD Google Analytics here -->
<!-- END Google Analytics here -->
    <style type="text/css">
img.c3 {border-width:0}
    p.c2 {font-weight: bold}
    div.c1 {clear:both;}
    </style>
  </head>
  <body>
    <div id="aiac">
      <div class="main-container">
        <div class="header">
          <div class="header-title">
            <a href="../../about/index.html"><img alt="" src="../../static/images/appinventor_logo.gif"></a>
          </div>
            <div class="header-search">
<!-- ADD Google Custom Search -->
<!-- END Google Custom Search -->
              <div class="header-search-query">
              </div>
              <div class="header-search-button">
              </div>
            </div>
          <div class="header-login">
            <div class="header-login-greeting">
              Learn about App Inventor
            </div>
          </div>
        </div>
        <div class="customhr customhr-green"></div>
<!-- ADD Google Search Results -->
<!-- END Google Search Results -->
        <div id="navigation">
          <div id="navigation-links">
            <div class="navigation-link-option" id="navigation-link-home">
              <a href="../../about/index.html">About</a>
            </div>
            <div class="navigation-link-option navigation-link-active" id="navigation-link-learn">
              <a href="../../learn/index.html">Learn</a>
            </div>
            <div class="navigation-link-option" id="navigation-link-forum">
              <a href="../../forum/index.html">Forum</a>
            </div>
            <div class="navigation-link-option" id="navigation-link-myappinventor">
              <a href="">My Projects</a><div>(coming soon)</div>
            </div>
          </div>
          <div id="navigation-breadcrumb">
            <a href="../../learn/index.html">Learn</a> &gt; <a href="../../learn/setup/index.html">Setup</a> &gt; Linux &gt;
          </div>
          <div class="c1"></div>
        </div>
        <div class="customhr customhr-gray"></div>
        <div class="content">
          <div class="content-body">
            <div class="learn-page">
              <h2>
                Installing the App Inventor Setup Software for GNU/Linux
              </h2>
              <p>
                You'll need sudo privileges to do the installation.
              </p>
              <h3>
                For systems that can install Debian packages
              </h3>
              <p>
                Use these instructions for systems that can install Debian packages (e.g., Debian or Ubuntu):
              </p>
              <ol>
                <li>Download the <a href="http://dl.google.com/dl/appinventor/installers/linux/appinventor-setup_1.1_all.deb">Appinventor Setup installer Debian package</a>. This is a file named appinventor-setup_1.1_all.deb (about 86 Megabytes). It is a Debian package installer file. The place it will end up on your computer depends on how your browser is configured. Typically, it will go into your Downloads folder.
                </li>
                <li>If your system can install packages simply by clicking on the package file, then do that.
                </li>
                <li>If your system doesn't support clickable package installers, then navigate to the directory where the file is located and run the command
                  <p class="c2">
                    sudo dpkg --install appinventor-setup_1.1_all.deb
                  </p>With either method, you might need to ensure that the deb file as well as the directory it's in are world readable and world executable. On some systems, sudo does not have default privileges to read and execute all files.
                </li>
                <li>The software will be installed under /usr/google/appinventor-setup.
                </li>
                <li>You'll also need to configure your system to detect your device. See the Android developer instructions at <a href="http://d.android.com/guide/developing/device.html#setting-up">Setting up a device for development</a>. Follow the instructions under the step "set up your system to detect your device" in the bullet under "If you're developing on Ubuntu Linux".
                </li>
              </ol>
              <h3>
                For other GNU/Linux systems
              </h3>
              <ol>
                <li>Download the <a href="http://dl.google.com/dl/appinventor/installers/linux/appinventor-setup_1.1.tar.gz">Appinventor Setup installer tar file</a>. This is a file named appinventor-setup_1.1.tar.gz (about 86 Megabytes). It is a Gzip compressed tar file.
                </li>
                <li>Install the files using a method appropriate to your operating system. You need to extract just the appinventor-setup_1.1/appinventor directory, which needs to end up on your system with the full path name <b>/usr/google/appinventor</b>. If you have installed this correctly, the file <b>/usr/google/appinventor/commands-for-Appinventor/adb will exist</b>.
                </li>
              </ol>
              <h3>
                Locating the Setup directory
              </h3>
              <p>
                In most cases, App Inventor should be able to locate the installed Setup software on its own. If it does ask you where the software is located, the directory path you should enter is <b>/usr/google/appinventor/commands-for-Appinventor</b>
              </p>
              <blockquote class="notice">
                Something not working right? Visit the <a href="../troubleshooting.html">troubleshooting page</a>, or check the <a href="../../forum/index.html">App Inventor User Forum</a> for help.
              </blockquote>
              <h2>
                Next Steps
              </h2><a href="../../learn/setup/phone.html">Set up your Android phone</a> then <a href="../../learn/setup/hellopurr/hellopurrphonepart1.html">build your first app with the phone</a>
              <h3>
                or
              </h3><a href="../../learn/setup/hellopurr/hellopurremulatorpart1.html">Build your first app with the emulator</a>
            </div>
          </div>
        </div>
        <div class="footer">
          <div class="footer-legal">
            <p>
              <a href="http://creativecommons.org/licenses/by/3.0/" rel="license"><img alt="Creative Commons License" class="c3" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
              This work is licensed under a <a href="http://creativecommons.org/licenses/by/3.0/" rel="license">Creative Commons Attribution 3.0 Unported License</a> .
            </p>
            <p>
              The original work by Google has been modified<br>
              <!-- The modified work was translated from English to [language]<br> -->
              <a href="../../about/index.html">About</a> | <a href="../../about/privacy.html">Privacy</a> | <a href="../../about/termsofservice.html">Terms</a>
            </p>
          </div>
          <div class="footer-lastupdate">
            <script type="text/javascript">
if (document.lastModified != '') {
                var m = "Page last updated: " + document.lastModified;
                var p = m.length-8;
                document.writeln("<center>");
                document.write(m.substring(p, 0));
                document.writeln("<\/center>");
              }
            </script>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
